ADC0TRGSEL=0000, ADC0PRETRGSEL=0, ADC0ALTTRGEN=0
System Options Register 7
ADC0TRGSEL | ADC0 Trigger Select 0 (0000): External trigger pin input (EXTRG_IN) 1 (0001): CMP0 output 4 (0100): PIT trigger 0 5 (0101): PIT trigger 1 8 (1000): TPM0 overflow 9 (1001): TPM1 overflow 10 (1010): TPM2 overflow 12 (1100): RTC alarm 13 (1101): RTC seconds 14 (1110): LPTMR0 trigger 15 (1111): Radio TSM |
ADC0PRETRGSEL | ADC0 Pretrigger Select 0 (0): Pre-trigger ADHDWTSA is selected, thus ADC0 will use ADC0_SC1A configuration for the next ADC conversion and store the result in ADC0_RA register. 1 (1): Pre-trigger ADHDWTSB is selected, thus ADC0 will use ADC0_SC1B configuration for the next ADC conversion and store the result in ADC0_RB register. |
ADC0ALTTRGEN | ADC0 Alternate Trigger Enable 0 (0): ADC ADHWT trigger comes from TPM1 channel 0 and channel1. Prior to the assertion of TPM1 channel 0, a pre-trigger pulse will be sent to ADHWTSA to initiate an ADC acquisition using ADCx_SC1A configuration and store ADC conversion in ADCx_RA Register. Prior to the assertion of TPM1 channel 1 a pre-trigger pulse will be sent to ADHWTSB to initiate an ADC acquisition using ADCx_SC1Bconfiguration and store ADC conversion in ADCx_RB Register. 1 (1): ADC ADHWT trigger comes from a peripheral event selected by ADC0TRGSEL bits.ADC0PRETRGSEL bit will select the optional ADHWTSA or ADHWTSB select lines for choosing the ADCx_SC1x config and ADCx_Rx result regsiter to store the ADC conversion. |